package com.trkj.dao.wxy;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojo.Overview;
import com.trkj.pojo.StaffInformation;

public interface OverviewDao extends CrudRepository<Overview, Long> {
	//多表查询分页
	@Query("select a,e from ExamArrange a inner join a.examPapers e")
	public List<Object[]> queryByOverView(Pageable p);
}
